package com.sundablog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sundablog.mapper.AdminUserMapper;
import com.sundablog.pojo.AdminUser;
import com.sundablog.pojo.AdminUserExample;
import com.sundablog.service.TestService;

/**
 * 测试类
 * @ClassName:  TestServiceImpl   
 * @Description:TODO测试类   
 * @author: 哒哒 
 * @date:   2018年3月21日 下午2:46:31   
 *     
 * @Copyright: 2018 www.sundablog.com Inc. All rights reserved.
 */
@Service
public class TestServiceImpl implements TestService {

	@Autowired
	private AdminUserMapper adminUserMapper;
	
	@Override
	public List<AdminUser> selectAdmin() {
		AdminUserExample example = new AdminUserExample();
		List<AdminUser> list = adminUserMapper.selectByExample(example);
		return list;
	}

}
